package ooday03;

public class SwimTest {
    public static void main(String[] args) {
        Dog dog = new Dog("小黑",2,"黑");
        dog.eat();
        dog.drink();
        dog.swin();
        dog.lookHome();

        Chick chick =new Chick("小白",1,"白");
        chick.eat();
        chick.layEggs();
        chick.drink();

        Fish fish =new Fish("小金",1,"金");
        fish.eat();
        fish.drink();
        fish.swin();
    }
}
